
package com.fire.web.modules.all.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.fire.web.modules.all.entity.AllUserModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * UserDao
 *
 * @author Matthew
 * @Date 2019-01-10 11:32
 */
@Mapper
public interface AllUserMapper extends BaseMapper<AllUserModel> {

	/**
	 * 查询列表
	 *
	 * @param model
	 * @return
	 */
	List<AllUserModel> selectList(@Param("e") AllUserModel model, @Param("w") Wrapper<AllUserModel> wrapper);

	/**
	 * 分页查询信息
	 *
	 * @param pagination
	 * @param model
	 * @param wrapper
	 * @return
	 */
	List<AllUserModel> selectPage(@Param("p") Pagination pagination, @Param("e") AllUserModel model, @Param("w") Wrapper<AllUserModel> wrapper);

}
